import request from '@/utils/request'
import Qs from 'qs'

// 意见反馈列表
export function queryFeedbackList (params) {
  return request({
    method: 'post',
    params,
    url: '/api/feedback/admin/queryFeedbackList'
  })
}


//意见处理
export function upFeedback (data) {
  return request({
    method: 'post',
    data:Qs.stringify(data),
    url: '/api/feedback/admin/updateFeedbackDeatil',
    headers:{'content-type': 'application/x-www-form-urlencoded'}
  })
}


//意见详情
export function queryFeedbackDeatil (data) {
  return request({
    method: 'post',
    data:Qs.stringify(data),
    url: '/api/feedback/admin/queryFeedbackDeatil',
    headers:{'content-type': 'application/x-www-form-urlencoded'}
  })
}